package lab02.test15;

/**
 * Created by 唐苗苗 on 2017/10/19.
 */
public class Test {
    public static void main(String[] args) {
        Graduate zhangsan = new Graduate();
        if (zhangsan.getPay() - zhangsan.getFree() < 2000) {
            System.out.println("you need a loan!!");
        } else {
            System.out.println("you income is enough!!");
        }
    }
}